enable per-VCPU parameter for RTDS
authorChong Li <chong.li@wustl.edu>
Fri, 1 Apr 2016 14:30:50 +0000 (16:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Apr 2016 14:30:50 +0000 (16:30 +0200)
commitf7b87b0745b4ff99fbec911502abc04f2785c0e5
tree73018b45793ae2306c0fb7423cc4fe798b093984
parent612f150fa79ad51d6d8e260c6c6a085dfdadd0b6
enable per-VCPU parameter for RTDS

Add XEN_DOMCTL_SCHEDOP_getvcpuinfo and _putvcpuinfo hypercalls
to independently get and set the scheduling parameters of each
vCPU of a domain.

Also fix a bug in XEN_DOMCTL_SCHEDOP_getinfo, where PERIOD and
BUDGET are not divided by MICROSECS(1) before being retruned
to the caller.

Signed-off-by: Chong Li <chong.li@wustl.edu>
Signed-off-by: Meng Xu <mengxu@cis.upenn.edu>
Signed-off-by: Sisu Xi <xisisu@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/common/sched_rt.c
xen/common/schedule.c
xen/include/public/domctl.h